package can.bishe.modules.exam.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import can.bishe.common.utils.PageUtils;
import can.bishe.common.utils.Query;

import can.bishe.modules.exam.dao.ExamSubjectOptionDao;
import can.bishe.modules.exam.entity.ExamSubjectOptionEntity;
import can.bishe.modules.exam.service.ExamSubjectOptionService;


@Service("examSubjectOptionService")
public class ExamSubjectOptionServiceImpl extends ServiceImpl<ExamSubjectOptionDao, ExamSubjectOptionEntity> implements ExamSubjectOptionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ExamSubjectOptionEntity> page = this.page(
                new Query<ExamSubjectOptionEntity>().getPage(params),
                new QueryWrapper<ExamSubjectOptionEntity>()
        );

        return new PageUtils(page);
    }

}
